package lab02.test37;

 class Undergraduate extends Student{
     @Override
     String grade() {
         for (i = 0; i <= 2; i++) {
             sum = sum + grade1[i];
         }
         sum=sum/3;
         if (sum>=60){
             return "准许授予学士学位";
         }
         else
             return "不授予学士学位";

     }
 }
